package net.wofly.sale.stock.flow;

import java.util.List;
import java.util.Map;

import net.wofly.framework.util.ReturnBean;
import net.wofly.right.domain.User;
import net.wofly.sale.stock.domain.ResourceAsk;

public interface IResourceAskFlowService {
	
	public ReturnBean<String> startWorkflow(User user ,String userId, Map<String, Object> variables) ;
	
	public List<ResourceAsk> findToDoList(String userId) ;
	
	public ReturnBean<String> complete(String userID ,String taskID ,Map<String, String[]> mapRequest) ;
	
	public ReturnBean<ResourceAsk> getResourceAskForFlow(String resourceAskID) ;
	
	public ResourceAsk getResourceAskForFlow(ResourceAsk ra) ;
	
}
